const ininState = {
	inputValue: '默认显示内容',
	isLogin: false,
}

export default function reducer(state = ininState, action) {
	switch (action.type) {
		case 'INPUT_CHANGE':
			return {
				...state,
				inputValue: action.inputValue,
			}
		default:
			return state
	}
}
